﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Server.WCF.Model;
using System.ServiceModel;

namespace Server.WCF
{
    [ServiceContract]
    interface IPlanRouteService
    {
        [OperationContract]
        WCFUser Login(string email, string passwordHash);
        [OperationContract]
        ICollection<WCFStation> GetAllStations();
        [OperationContract]
        ICollection<WCFStation> PlanRoute(WCFStation start, WCFStation end, DateTime date, WCFCarModel carModel);
        [OperationContract]
        WCFReservation ConfirmRoute(WCFUser user, WCFCar car, ICollection<WCFStation> stations, DateTime date);
    }
}
